package com.hqyj.ssm_project.mapper;

import com.hqyj.ssm_project.pojo.AttendanceDate;
import com.hqyj.ssm_project.pojo.AttendanceStatis;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface AttendanceDateMapper {
    int deleteByPrimaryKey(Integer attendanceId);

    int insert(AttendanceDate row);

    int insertSelective(AttendanceDate row);

    AttendanceDate selectByPrimaryKey(Integer attendanceId);

    int updateByPrimaryKeySelective(AttendanceDate row);

    int updateByPrimaryKey(AttendanceDate row);

    AttendanceDate selectExistUser(AttendanceDate attendanceDate);

    List<AttendanceDate> selectAllUserAttendanceByDay(String date);

    List<AttendanceDate> findUserAttendanceByUserId(Map<String, Object> map);

    AttendanceStatis selectUserAttendanceStatis(Map<String, Object> map);
}